package com.tensquare.article.dao;

import com.tensquare.article.pojo.Comment;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author Macross
 * @Type CommentDao.java
 * @Desc
 * @date 2019/12/18 19:48
 */
public interface CommentDao extends MongoRepository<Comment,String> {
    List<Comment> findByArticleid(String articleId);
}
